package com.booking.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Qikai.Lin
 * @date 2023/4/23
 */
@Data
@TableName("room_comment_detail")
public class RoomCommentDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 房间订单id
     */
    private Long roomOrderId;
    /**
     * 民宿id
     */
    private Long homestayId;
    /**
     * 评价者用户id
     */
    private Long userId;
    /**
     * 是否优质评价
     */
    private Integer highQuality;
    /**
     * 是否置顶
     */
    private Integer topFlag;
    /**
     * 评分
     */
    private Integer score;
    /**
     * 内容
     */
    private String content;
    /**
     * 用户点赞
     */
    private Integer userLike;
    /**
     * 图片路径列表
     */
    private String imgUrlList;
    /**
     * 创建时间
     */
    private LocalDateTime createdTime;
    /**
     * 更新时间
     */
    private LocalDateTime updatedTime;
}
